package com.example.bookmapper.service.impl;

import com.example.bookmapper.mapper.BookPopularityRankMapper;
import com.example.bookmapper.pojo.BookPopularityRank;
import com.example.bookmapper.service.BookPopularityRankService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookPopularityRankServiceImpl implements BookPopularityRankService {

    @Autowired
    private BookPopularityRankMapper bookPopularityRankMapper;

    @Override
    public List<BookPopularityRank> queryAllBookPopularityRank() {
        return bookPopularityRankMapper.queryAllBookPopularityRank();
    }
}

